package org.csu.service.imp;

import org.csu.dao.BookDao;
import org.csu.entity.Book;
import org.csu.entity.BookQuery;
import org.csu.service.BookManageService;
import org.csu.validator.ValidationResult;
import org.csu.vo.BaseResponse;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import javax.annotation.Resource;

@Service(value="bookManageService")
public class BookManageServiceImp implements BookManageService {

    @Resource
    private BookDao bookDao;
    public String  getBookList(BookQuery query, Integer pageNum) {
        return  null;
    }
    public String getBookDetail(Integer bookId) {
        return null;
    }
    public ResponseEntity<BaseResponse<Book>> addBook(Book book, MultipartFile coverFile) {
        return null;
    }
    public ResponseEntity<BaseResponse<Boolean>> updateBook(Book book) {
        return null;
    }
    public ResponseEntity<BaseResponse<Boolean>> deleteBook(Integer bookId) {
        return null;
    }
    public ResponseEntity<BaseResponse<Boolean>> shelveBook(Integer bookId) {
        return null;
    }
    public ResponseEntity<BaseResponse<Boolean>> unshelveBook(Integer bookId) {
        return null;
    }
    public ValidationResult validateBookInfo(Book book) {
        return null;
    }
    public String processBookCover(MultipartFile file) {
        return null;
    }
    public Boolean updateBookStatus(Integer bookId, String status) {
        return null;
    }

}
